package com.vegetable.modules.service.finance;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vegetable.common.utils.PageUtils;
import com.vegetable.common.utils.R;
import com.vegetable.modules.entity.finance.PaymentTeam;

import java.util.Map;

/**
 * <p>
 * 班组付款 服务类
 * </p>
 *
 * @author wangruijie
 * @since 2024-04-15
 */
public interface IPaymentTeamService extends IService<PaymentTeam> {

    /**
     * 班组付款列表查询
     * @param params
     * @return
     */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 新增班组付款
     * @param financialTeam null
     * @return R
     * @author wrj
     * @since 2024/3/7 下午4:35
     */
    R saveTeamPayment(PaymentTeam financialTeam) throws Exception;

    /**
     * 删除班组付款
     * @param id null
     * @return R
     * @author wrj
     * @since 2024/3/7 下午4:35
     */
    R deleteTeam(Long id) throws Exception;

}
